diff options
author | kartofen <mladenovnasko0@gmail.com> | 2022-10-24 23:19:33 +0300 |
---|---|---|
committer | kartofen <mladenovnasko0@gmail.com> | 2022-10-24 23:19:33 +0300 |
commit | 9dfd6aa77518b3a1e6bfd926a3b7719c32a8c97f (patch) | |
tree | d10fc76ef816160871e3955aa75821bc5d5088d4 /src/pages/create/[board].astro | |
parent | 4ca81621e5b31922565b4149ebad1deb5161071a (diff) |
use the new api
Diffstat (limited to 'src/pages/create/[board].astro')
-rw-r--r-- | src/pages/create/[board].astro | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pages/create/[board].astro b/src/pages/create/[board].astro index 152277c..3cbe1ab 100644 --- a/src/pages/create/[board].astro +++ b/src/pages/create/[board].astro @@ -12,8 +12,8 @@ const { board } = Astro.params; <Form board={board} tid=""> <form id="form" method="post" action="/create/thread" onsubmit="document.getElementById('submit-button').disabled = true"> - <textarea name="ThreadName" placeholder="Thread Name" style="height: 1.5rem; width: 350px;"></textarea> <br> - <textarea name="ThreadText" placeholder="Thread Contents" style="height: 150px; width: 350px;"></textarea> + <textarea name="title" placeholder="Thread Name" style="height: 1.5rem; width: 350px;"></textarea> <br> + <textarea name="content" placeholder="Thread Contents" style="height: 150px; width: 350px;"></textarea> <br> <input id="submit-button" type="submit" value="Create Thread" /> <input id="image" type="file" accept=".png,.jpg,.gif,.bmp,.mp4" /> </form> |